<div class="mod mod-map">
  <div class="content">

    <div id="map_canvas" style="width:<?php print $canvas['width']; ?>px; height:<?php print $canvas['height']; ?>px" data-latitude="<?php print $canvas['latitude']; ?>" data-longitude="<?php print $canvas['longitude']; ?>"></div>

    <?php foreach($locations as $location) : ?>
      <input type="hidden" data-desc="<?php print $location['description']; ?>" name="marker" data-lat="<?php print $location['latitude']; ?>" data-long="<?php print $location['longitude']; ?>" value="<?php print $location['title']; ?>" />
    <?php endforeach; ?>

  </div>
</div>